package com.dcits.servicemanagement.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class SysUser implements Serializable {

    private static final long serialVersionUID = 915478504870211231L;

    private Integer id;

    private String account;

    private String userName;

    private String password;

    private Date lastLoginTime;

    private Boolean enabled;

    private Boolean accountNonExpired;

    private Boolean accountNonLocked;

    private Boolean credentialsNonExpired;

    private Date createTime;

    private Date updateTime;

    private Integer createUser;

    private Integer updateUser;


    public SysUser(String account, String userName, String password) {
        this.account = account;
        this.userName = userName;
        this.password = password;
    }
}